﻿// -------------------------------------------------------------------------
//    @FileName         :    NFMirrorModule.h
//    @Author           :    Gao.Yi
//    @Date             :    2025-08-29
//    @Email			:    445267987@qq.com
//    @Module           :    NFMirrorModule
//    @Desc             :
//
// -------------------------------------------------------------------------

#pragma once

#include "NFLogicServer/NFLogicServerPlayerPlugin/NFLogicDynamicModule.h"

class NFMirrorModule : public NFLogicDynamicModule
{
public:
    NFMirrorModule(NFIPluginManager* p);
    ~NFMirrorModule() override;
public:
    int Awake() override;
    int OnHandleServerMessage(uint32_t msgId, NFDataPackage& packet, uint64_t param1, uint64_t param2) override;
public:
    int OnHandleRoleMirrorSession(uint32_t msgId, NFDataPackage& packet, uint64_t param1, uint64_t param2);
    int OnHandleRoleMirrorLogin(uint32_t msgId, NFDataPackage& packet, uint64_t param1, uint64_t param2);
    int OnHandleTransferMirrorSession(uint32_t msgId, NFDataPackage& packet, uint64_t param1, uint64_t param2);
};
